﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
    {

}
<div class="layui-form layui-row childrenBody" id="add-form">
    <div class="layui-form-item">
        <div class="layui-col-xs3">
            <div class="layui-input-block">
                <div class="layui-upload-list">
                    <img class="layui-upload-img userFaceBtn userAvatar" style="height:108px" id="userFace" src="~/images/face.jpg" name="picture_url">
                </div>
                <button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i>上传头像</button>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-form-item">
                <label class="layui-form-label">
                    &nbsp;&nbsp;
                </label>
                <div class="layui-input-inline">
                    &nbsp;&nbsp;
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label layui-required">账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" lay-verify="required" name="name">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label layui-required">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
                <div class="layui-input-inline">
                    <input type="password" class="layui-input" lay-verify="required" name="password">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-form-item">
                <label class="layui-form-label">&nbsp;&nbsp;</label>
                <div class="layui-input-inline">
                    &nbsp;&nbsp;
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label layui-required">实际姓名：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" lay-verify="required" name="realname">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label layui-required">重复密码：</label>
                <div class="layui-input-inline">
                    <input type="password" class="layui-input" lay-verify="required" name="repassword">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label layui-required">手机号码：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" lay-verify="required" name="mobile_phone">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label layui-required">身份证号：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" lay-verify="required" name="idnumber">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label layui-required">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>
                <div class="layui-input-block">
                    <input type="radio" name="gender" value="男" title="男" checked="">
                    <input type="radio" name="gender" value="女" title="女">
                    <input type="radio" name="gender" value="保密" title="保密">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">家庭电话：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="telphone">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">办公电话：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="office_phone">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">邮箱地址：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" lay-verify="required" name="email">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">显示名称：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="displayname">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">Q&nbsp;&nbsp;&nbsp;&nbsp;Q&nbsp;&nbsp;号：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="qq">
                </div>
            </div>
        </div>
        <div class="layui-col-xs3">
            <div class="layui-inline">
                <label class="layui-form-label">用户昵称：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="nickname">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs9">
            <label class="layui-form-label">所属部门：</label>
            <div class="layui-input-block">
                <select name="departmentList" xm-select="departmentList" xm-select-height="300px"></select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs9">
            <label class="layui-form-label">所属角色：</label>
            <div class="layui-input-block">
                <select name="roleList" xm-select="roleList" xm-select-height="300px"></select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs9">
            <label class="layui-form-label">岗&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：</label>
            <div class="layui-input-block">
                <select name="postList" xm-select="postList" xm-select-height="300px"></select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-xs9">
            <label class="layui-form-label">用户描述：</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" name="user_describe" placeholder="请输入用户描述" style="height:50px; min-height: 50px;"></textarea>
            </div>
        </div>
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-input-block">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addButton">立即添加</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
    {
    <script src="~/areas/authority/js/user.add.js"></script>
}
